package dk.au.cs.peterbn;

import dk.au.cs.peterbn.spoonprocessing.CallSiteProcessor;
import junit.framework.TestCase;

import java.io.File;

/**
 * Created by IntelliJ IDEA.
 * User: peter
 * Date: 10/12/11
 * Time: 9:46 AM
 * To change this template use File | Settings | File Templates.
 */
public class SpoonRunner extends TestCase {

    public void testSpoonRunner() throws Exception {
        TestLauncher launcher = new TestLauncher();
        launcher.addProcessor(new CallSiteProcessor());
        File dir = new File("src/main/java/test/allrolespresent/");
        File[] files = dir.listFiles();
        for (File file : files) {
            launcher.addInputFile(file);
        }
        launcher.run();
    }

}
